%%%% Proceedings format for most of ACM conferences (with the exceptions listed below) and all ICPS volumes.
\documentclass[sigconf]{acmart}
\usepackage{balance}
%%%% As of March 2017, [siggraph] is no longer used. Please use sigconf (above) for SIGGRAPH conferences.

%%%% Proceedings format for SIGPLAN conferences 
% \documentclass[sigplan, anonymous, review]{acmart}

%%%% Proceedings format for SIGCHI conferences
% \documentclass[sigchi, review]{acmart}

%%%% To use the SIGCHI extended abstract template, please visit
% https://www.overleaf.com/read/zzzfqvkmrfzn

%
% defining the \BibTeX command - from Oren Patashnik's original BibTeX documentation.
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08emT\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
    
% Rights management information. 
% This information is sent to you when you complete the rights form.
% These commands have SAMPLE values in them; it is your responsibility as an author to replace
% the commands and values with those provided to you when you complete the rights form.
%
% These commands are for a PROCEEDINGS abstract or paper.
\copyrightyear{2020}
\acmYear{2020}
\setcopyright{acmcopyright}
\acmConference[HoTSoS '20]{Hot Topics in the Science of Security:
Symposium and Bootcamp}{April 7--8, 2020}{Lawrence, KS, USA}
\acmBooktitle{HoTSoS '20: Hot Topics in the Science of Security: Symposium and Bootcamp, April 7--8, 2020, Lawrence, KS, USA}

\acmDOI{10.1145/3314058.3317293} \acmISBN{978-1-4503-7147-6/19/04}


%
% These commands are for a JOURNAL article.
%\setcopyright{acmcopyright}
%\acmJournal{TOG}
%\acmYear{2018}\acmVolume{37}\acmNumber{4}\acmArticle{111}\acmMonth{8}
%\acmDOI{10.1145/1122445.1122456}

%
% Submission ID. 
% Use this when submitting an article to a sponsored event. You'll receive a unique submission ID from the organizers
% of the event, and this ID should be used as the parameter to this command.
%\acmSubmissionID{123-A56-BU3}

%
% The majority of ACM publications use numbered citations and references. If you are preparing content for an event
% sponsored by ACM SIGGRAPH, you must use the "author year" style of citations and references. Uncommenting
% the next command will enable that style.
%\citestyle{acmauthoryear}

%
% end of the preamble, start of the body of the document source.
\begin{document}

%
% The "title" command has an optional parameter, allowing the author to define a "short title" to be used in page headers.
\title{A Raspberry Pi Sensor Network for Wildlife Conservation}

%
% The "author" command and its associated commands are used to define the authors and their affiliations.
% Of note is the shared affiliation of the first two authors, and the "authornote" and "authornotemark" commands
% used to denote shared contribution to the research.
%\author{Ben Trovato}
%\email{trovato@corporation.com}
%\orcid{1234-5678-9012}
%\author{G.K.M. Tobin}
%\authornotemark[1]
%\email{webmaster@marysville-ohio.com}
%\affiliation{%
%  \institution{Institute for Clarity in Documentation}
%  \streetaddress{P.O. Box 1212}
%  \city{Dublin}
%  \state{Ohio}
%  \postcode{43017-6221}
%}

\author{Andrew Arnold}
\affiliation{%
  \institution{United States Military Academy}
  \streetaddress{646 Swift Road}
  \city{West Point}
  \state{New York}
  \postcode{10996-1905}
}
\email{andrew.arnold@westpoint.edu}

\author{Paul Corapi}
\affiliation{%
  \institution{United States Military Academy}
  \streetaddress{646 Swift Road}
  \city{West Point}
  \state{New York}
  \postcode{10996-1905}
}
\email{paul.corapi@westpoint.edu}

\author{Michael Nasta}
\affiliation{%
  \institution{United States Military Academy}
  \streetaddress{646 Swift Road}
  \city{West Point}
  \state{New York}
  \postcode{10996-1905}
}
\email{michael.nasta@westpoint.edu}

\author{Kevin Wolgast}
\affiliation{%
  \institution{United States Military Academy}
  \streetaddress{646 Swift Road}
  \city{West Point}
  \state{New York}
  \postcode{10996-1905}
}
\email{kevin.wolgast@westpoint.edu}

\author{Thomas A. Babbitt}
\authornote{Corresponding Author}
\affiliation{%
  \institution{United States Military Academy}
  \streetaddress{646 Swift Road}
  \city{West Point}
  \state{New York}
  \postcode{10996-1905}
}
\email{thomas.babbitt@westpoint.edu}



%
% By default, the full list of authors will be used in the page headers. Often, this list is too long, and will overlap
% other information printed in the page headers. This command allows the author to define a more concise list
% of authors' names for this purpose.
\renewcommand{\shortauthors}{Arnold, et al.}

%
% The abstract is a short summary of the work to be presented in the article.
\begin{abstract}
%Abstract for the paper. Write this section last.
%Things we need to cover:
%\begin{enumerate}
%   \item system overview (what does each node look like?)
%   \item sensor explanation
%    \item Device state transition (sleep states)
%    \item Node Communication
%\end{enumerate}
Scientists and the military require inconspicuous means to monitor wildlife. In this poster, we progress the ability for a Raspberry Pi sensor network to be used for wildlife detection and monitoring. Eliminating the need for expensive commercial camera traps, the sensor network will, with little to no human interaction, detect and collect vital information about the presence of endangered wildlife. Raspberry Pi sensor nodes collect and store data and transfer it over a mesh network to an android app interface. In order to reduce the node size and maintain battery efficiency, we are implementing parallel battery usage and standard lithium batteries. We will also increase the range, durability, and adaptability of the network by integrating a self-healing mesh network that does not require a master node for communication to and from individual sensors.

\end{abstract}

%
% The code below is generated by the tool at http://dl.acm.org/ccs.cfm.
% Please copy and paste the code instead of the example below.
%
\begin{CCSXML}
<ccs2012>
<concept>
<concept_id>10010520.10010553.10003238</concept_id>
<concept_desc>Computer systems organization~Sensor networks</concept_desc>
<concept_significance>500</concept_significance>
</concept>
<concept>
<concept_id>10010405.10010476</concept_id>
<concept_desc>Applied computing~Computers in other domains</concept_desc>
<concept_significance>300</concept_significance>
</concept>

</ccs2012>
\end{CCSXML}

\ccsdesc[500]{Computer systems organization~Sensor networks}
\ccsdesc[300]{Applied computing~Computers in other domains}


%
% Keywords. The author(s) should pick words that accurately describe the work being
% presented. Separate the keywords with commas.
\keywords{Conservation, Raspberry Pi, Battery optimization, mesh network}

%
% A "teaser" image appears between the author and affiliation information and the body 
% of the document, and typically spans the page. 
%\begin{teaserfigure}
%  \includegraphics[width=\textwidth]{sampleteaser}
%  \caption{Seattle Mariners at Spring Training, 2010.}
%  \Description{Enjoying the baseball game from the third-base seats. Ichiro Suzuki preparing to bat.}
%  \label{fig:teaser}
%\end{teaserfigure}

%
% This command processes the author and affiliation and title information and builds
% the first part of the formatted document.
\maketitle

\section{Introduction}
%%Despite the destruction caused by warfare, the 
Military bases around the globe, and especially in the United States, contain significant biodiversity. This is due to the restrictions placed on access and use of the land outside of military training exercises~\cite{lawrence2015,doxford2002}. Rules and regulations exist to identity and isolate key habitats for endangered species and limit or restrict training in those areas~\cite{Price2016v3}. By some estimates, the number of endangered species effected might top 200~\cite{lawrence2015}. Scientist attempting to research these species need a portable and robust system capable of using multiple sensors to capture audio, still pictures, and when possible, video.

To assist the military to monitor and make appropriate training decisions and scientist to conduct research with minimal environmental impact, we modified a wireless sensor network (WSN) to consist entirely of the Raspberry Pi Zero W~\cite{pi2017} single board computer (SBC). This makes a number of improvements to the WSN proposed in~\cite{alejos2018, Curtin2019}. The Raspberry Pi Zero W is an improvement over using earlier models of Raspberry Pi's or the ZigBee XBee HAT and its use as a master node is novel. 

The overarching goal is to create a lightweight redundant, self healing mesh network with extended battery capability. Our proposal allows every node to act as a sync or master. The system modifies the HSMM-Pi software~\cite{hsmm-pi} which was originally proposed for use in ham radio and creates a mesh network between the Raspberry Pi Zero W sensor nodes. The user with an Androids app can connect to any sensor node to transmit and receive data. 

Minimal interactions is preferred when observing an environment for research. There are numerous studies on the effect of human activities on wildlife~\cite{Steidl2006}. A more efficient battery at each node reduces the number of times a researcher must enter, and possibly effect, an environment. A modification to the battery connection and better power utilization allow for a more robust system.

\section{System Design}
Figure \ref{Mesh Network} provides an overview of our system. Each node consists of a Raspberry Pi Zero W which are equipped with a camera, an inferred motion detector, and a microphone. The camera and microphone capture audio-visual data which is stored on the sensor itself. The sensor sends a notification to the android phone through the mesh network telling the user there is new data. The user is then able to request the information through the app and can view the data. 

\begin{figure}[h]
\centering
\includegraphics[width=.45\textwidth]{RaspberryPiMeshNetwork.png}
\caption{Overview of the mesh network.}
\label{Mesh Network}
\end{figure}

The full mesh network implemented increases adaptability and resilience. Previous designs of this system utilized a master node that was the only node able to interface with the android app. The new design increases resilience since the entire network is not reliant on a single node interacting with the android app. We are currently using HSMM-Pi which is a pre-built set of tools designed to create a mesh network on Raspberry Pi systems \cite{hsmm-pi}. This system routes traffic through the mesh and manages routes through Optimized Link State Routing Protocol (OLSR).

A major goal of this design is to improve energy performance while reducing the overall size of the system. Previous versions of the project utilized a commercial battery pack, typically used for charging mobile devices, which connected with the Raspberry Pi via its micro USB power connector. This design implements standard lithium polymer (LiPo) batteries with a direct connection in order to reduce size and improve cost efficiency.

In order to further reduce the size of the device, we are redesigning the previous version's PCB hat which implements an infrared sensor to detect motion and a microphone to record audio. We are removing the audio jack on the previous design and implementing direct processing of audio signals from the microphone, this enables us to reduce the size of the PCB hat. Additionally, the PCB hat serves as an interface to implement the new LiPo batteries and provides a method of quickly swapping dead batteries.

\section{Preliminary Results \& Conclusions}
%(what we figured out and how we'll use it)
The current process of setting up the mesh network builds on previous models. Instead of using a Raspberry Pi 3 for the master node, we have transitioned to having any Raspberry Pi Zero W in the network serve as a master node. This allows the android app to connect to any node and eliminates the need for a different type of Raspberry Pi. This removal of a designated master node allows for a self healing properly where the loss of one node does not cause the network to fail creating a full mesh network.

%(battery)
Since most LiPo batteries operate at 3.7V, our initial battery tests involved testing how the Raspberry Pi performed under direct power at this voltage. Tests were performed using a Keysight bench power supply while current and voltage data were captured on the device. A graph of the results is shown in Figure \ref{BatteryTest}.
\begin{figure}[h]
	\centering
	\includegraphics[width=.5\textwidth]{PowerTest.png}
	\caption{Current and voltage versus time for 3.7V direct power.}
	\label{BatteryTest}
\end{figure}

The small spikes in current draw in Figure~\ref{BatteryTest} indicate times when the Raspberry Pi actively captured images. These amount to only small variations in current draw and an overall average current draw of approximately 206mA, resulting in about 14.5 hours of battery life with a 3000mAh battery. Choosing this battery capacity and its generic LiPo architecture allow us to design a more compact, but similarly efficient, enclosure.

Further, we are implementing two 3000mAh batteries in parallel to effectively double the device's lifetime to over 24 hours, based on our initial 14.5 hour estimate. In order to effectively implement two batteries, as well as the necessary microphone and infrared sensor, we have improved the previous version's PCB hat design. This requires Schottky diodes to be implemented in series with each battery to prevent mutual charging due to voltage differentials. This results in voltage drops of 0.3V across each diode, lower than the typical 0.7V diode voltage drop, which lowers overall source voltage to 3.4V, consequently resulting in a safer operating voltage for the Raspberry Pi as it is designed to operate at 3.3V. We predict that the network and battery modifications will make our wireless system more robust and assist in wildlife conservation.

\balance

\begin{acks}
The views expressed in this article are those of the authors and do not reflect the official policy or position of the Department of the Army, Department of Defense or the U.S. Government.
\end{acks}

%
% The next two lines define the bibliography style to be used, and the bibliography file.
\bibliographystyle{ACM-Reference-Format}
\bibliography{sample-base}

\end{document}
